package set;

import java.util.HashSet;

/**
 * Created by 5406160@qq.com on LiBoWen 李博闻.
 *
 * @ClassName : HashSetDemo
 * @Author : 54061
 * @Date: 2022/2/8 17:41
 */
public class HashSetDemo {
    public static void main(String[] args) {
        HashSet<Student> hs = new HashSet<>();

        hs.add(new Student("迪丽热巴",18));//8018
        hs.add(new Student("古力娜扎",19));
        hs.add(new Student("马尔扎哈",22));
        hs.add(new Student("王五",118));//8018


        System.out.println("hs = " + hs);
    }
    }